<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <title>猫狗日记</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link href="./static/css/layui.css" rel="stylesheet">
  <link rel="shortcut icon" href="./static/images/favicon.png">
  <style>
    .list-img {
      display: inline-block;
      vertical-align: middle;
      width: 100%;
    }
  </style>
</head>

<body>
  <div class="layui-layout layui-layout-admin">
    <div class="layui-header">
      <div class="layui-logo layui-hide-xs layui-bg-black">logo 区域</div>
      <!-- 头部区域（可配合layui 已有的水平导航） -->
      <ul class="layui-nav layui-layout-left">
        <!-- 移动端显示 -->
        <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-header-event="menuLeft">
          <i class="layui-icon layui-icon-spread-left"></i>
        </li>
        <li class="layui-nav-item layui-hide-xs"><a href="./index.html">首页</a></li>
        <li class="layui-nav-item layui-hide-xs"><a href="./about-pet.html">关于宠物</a></li>
        <li class="layui-nav-item layui-hide-xs"><a href="./pet-cats-dogs.html">宠物猫狗</a></li>
        <li class="layui-nav-item layui-hide-xs"><a href="./pet-news.html">宠物新闻</a></li>
        <li class="layui-nav-item layui-hide-xs"><a href="./buy-pet/index.html">宠物购买</a></li>
        <li class="layui-nav-item layui-hide-xs layui-this"><a href="javascript:;">宠物零食</a></li>
      </ul>
      <ul class="layui-nav layui-layout-right">
        <li class="layui-nav-item layui-hide layui-show-sm-inline-block">
          <a href="javascript:;">
            <img src="./static/images/user/avatar.jpeg" class="layui-nav-img">
            纳美
          </a>
          <dl class="layui-nav-child">
            <dd><a href="javascript:;">个人信息</a></dd>
            <dd><a href="javascript:;">退出</a></dd>
          </dl>
        </li>
      </ul>
    </div>

    <div class="layui-body" style="left: 0;">
      <div class="layui-container">

        <div class="layui-row layui-col-space25" style="margin-top: 30px;">

          <div class="layui-col-md3 ">
            <div class="layui-card">
              <img src="./static/images/pet-snakes/零食1.webp" class="list-img">
            </div>
            <div style="text-align: center; padding: 12px 0;">
              （效期至24.8）伯纳天纯 鲜肉系列成猫粮 主粮主食宠物饲料 鸭鱼拼鲜 1.5kg
            </div>
            <div>
              <div class="layui-col-md4 layui-col-md-offset4 layui-font-red layui-font-22" style="text-align: center;">
                ￥128.00
              </div>
            </div>
          </div>
          <div class="layui-col-md3 ">
            <div class="layui-card">
              <img src="./static/images/pet-snakes/零食2.webp" class="list-img">
            </div>
            <div style="text-align: center; padding: 12px 0;">
              <div>
                【旺旺蛋】食力萌主 犬用零食 山楂鸡肉夹心
              </div>
              <div>
                40g
              </div>
            </div>

            <div>
              <div class="layui-col-md4 layui-col-md-offset4 layui-font-red layui-font-22" style="text-align: center;">
                ￥5.00
              </div>
            </div>
          </div>
          <div class="layui-col-md3 ">
            <div class="layui-card">
              <img src="./static/images/pet-snakes/零食1.webp" class="list-img">
            </div>
            <div style="text-align: center; padding: 12px 0;">
              （效期至24.8）伯纳天纯 鲜肉系列成猫粮 主粮主食宠物饲料 鸭鱼拼鲜 1.5kg
            </div>
            <div>
              <div class="layui-col-md4 layui-col-md-offset4 layui-font-red layui-font-22" style="text-align: center;">
                ￥128.00
              </div>
            </div>
          </div>
          <div class="layui-col-md3 ">
            <div class="layui-card">
              <img src="./static/images/pet-snakes/零食1.webp" class="list-img">
            </div>
            <div style="text-align: center; padding: 12px 0;">
              （效期至24.8）伯纳天纯 鲜肉系列成猫粮 主粮主食宠物饲料 鸭鱼拼鲜 1.5kg
            </div>
            <div>
              <div class="layui-col-md4 layui-col-md-offset4 layui-font-red layui-font-22" style="text-align: center;">
                ￥128.00
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>


    <div class="layui-footer" style="text-align: center;left: 0;">
      cat and dog dairy &copy; 2024 created by Wzy
    </div>
  </div>

  <script src=".//cdn.staticfile.org/layui/2.9.10/layui.js"></script>
  <script>
    //JS 
    layui.use(['element', 'layer', 'util'], function () {
      var element = layui.element;
      var layer = layui.layer;
      var util = layui.util;
      var $ = layui.$;

      //头部事件
      util.event('lay-header-event', {
        menuLeft: function (othis) { // 左侧菜单事件
          layer.msg('展开左侧菜单的操作', { icon: 0 });
        },
        menuRight: function () {  // 右侧菜单事件
          layer.open({
            type: 1,
            title: '更多',
            content: '<div style="padding: 15px;">处理右侧面板的操作</div>',
            area: ['260px', '100%'],
            offset: 'rt', // 右上角
            anim: 'slideLeft', // 从右侧抽屉滑出
            shadeClose: true,
            scrollbar: false
          });
        }
      });
    });
  </script>
</body>

</html>